<?php /*
Given input as $a = array(10,3,9,8,5,2,1); Show output as array(1,2,5,8,9,3,10);
{Don't use any in built php functions.}
*/
?>
<?php
$a = array(10,3,9,8,5,2,1);
$b = count($a);
$a[]='';
	for($i=$b; $i>=0; --$i)
	{
		echo $a[$i];
	}
?>
